package com.zhs.elasticsearch.controller;

import com.zhs.elasticsearch.basic.AjaxResult;
import com.zhs.elasticsearch.service.UserMatchService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *
 * @Author zhenghuisheng
 * @Date：2025/6/23 15:48
 */
@RestController
@RequestMapping("/es/user")
public class UserMatchController {

    @Resource
    private UserMatchService userMatchService;

    @GetMapping("/matchSave")
    public AjaxResult matchSave() {
        return userMatchService.matchSave();
    }

    @GetMapping("/matchSearch")
    public AjaxResult matchSearch() {
        return userMatchService.matchSearch();
    }



}
